﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

using SBPweb.PROvibe.Client.Framework.Controls;
using SBPweb.PROvibe.Client.Framework.Contracts.Content;

namespace SBPweb.PROvibe.Client.Modules.Controls
{

    public partial class Media : SmartpartControl
    {

        #region Constructor logic

        public Media()
            : base()
        {
            InitializeComponent();
            InitializeControls();
        }

        public Media(IPage parentPage)
            : base(parentPage)
        {
            InitializeComponent();
            InitializeControls();
        }

        protected override void InitializeControls()
        {
            Caption = "Media";
            meVideo.MediaOpened += new RoutedEventHandler(meVideo_MediaOpened);
            meVideo.MediaFailed += new EventHandler<ExceptionRoutedEventArgs>(meVideo_MediaFailed);
        }

        void meVideo_MediaFailed(object sender, ExceptionRoutedEventArgs e)
        {
        }

        void meVideo_MediaOpened(object sender, RoutedEventArgs e)
        {
        }

        #endregion

        #region Property accessors

        #endregion

        #region UI event handlers

        #endregion

    }

}